package tech.aistar.day06.extend;

/**
 * 本类用来演示:
 *
 * @author: success
 * @date: 2021/3/15 2:08 下午
 */
public class Cat extends Animal{
    private double cuteness;//萌度

    public Cat() {
    }

    public Cat(String name, double cuteness) {
        super(name);
        this.cuteness = cuteness;
    }

    @Override
    public Animal spark() {
        System.out.println("喵喵~~~");
        return null;
    }

    //特有的方法
    public void catchMouse(){
        System.out.println("咪咪捉老鼠...");
    }
}
